<span class="custom-control custom-switch"><input type="checkbox" ng-change="$ctrl.callback({data: $ctrl.data})" ng-model="$ctrl.data.isActived" id="{{$ctrl.guid}}" class="custom-control-input"> <label class="custom-control-label" for="{{$ctrl.guid}}" ng-bind="$ctrl.limString($ctrl.description, 20)" title="{{$ctrl.description}}"></label></span>